package com.jiazhong.model;

import java.util.Date;

/**
 * 该类用于描述学生实体，该类与数据库中tbl_student表对应，类名与数据库一一对应
 */
public class Student {
    private Integer stu_id;
    private String stu_name;
    private Integer stu_sex;
    private Date stu_birthday;
    private  Integer stu_age;
    private String stu_phone;
    private String stu_address;

    @Override
    public String toString() {
        return "Student{" +
                "stu_id=" + stu_id +
                ", stu_name='" + stu_name + '\'' +
                ", stu_sex=" + stu_sex +
                ", stu_birthday='" + stu_birthday + '\'' +
                ", stu_age=" + stu_age +
                ", stu_phone='" + stu_phone + '\'' +
                ", stu_address='" + stu_address + '\'' +
                '}';
    }

    public Integer getStu_id() {
        return stu_id;
    }

    public void setStu_id(Integer stu_id) {
        this.stu_id = stu_id;
    }

    public String getStu_name() {
        return stu_name;
    }

    public void setStu_name(String stu_name) {
        this.stu_name = stu_name;
    }

    public Integer getStu_sex() {
        return stu_sex;
    }

    public void setStu_sex(Integer stu_sex) {
        this.stu_sex = stu_sex;
    }

    public Date getStu_birthday() {
        return stu_birthday;
    }

    public void setStu_birthday(Date stu_birthday) {
        this.stu_birthday = stu_birthday;
    }

    public Integer getStu_age() {
        return stu_age;
    }

    public void setStu_age(Integer stu_age) {
        this.stu_age = stu_age;
    }

    public String getStu_phone() {
        return stu_phone;
    }

    public void setStu_phone(String stu_phone) {
        this.stu_phone = stu_phone;
    }

    public String getStu_address() {
        return stu_address;
    }

    public void setStu_address(String stu_address) {
        this.stu_address = stu_address;
    }
}
